Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES
authorSimon McVittie <smcv@debian.org>
Wed, 6 Aug 2014 10:23:23 +0000 (11:23 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 21 Aug 2014 08:54:32 +0000 (09:54 +0100)
That's what GNOME applications use.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638
Bug-Debian: https://bugs.debian.org/756476
Reviewed-by: Matthias Clasen
m4macros/gtk-3.0.m4

index 0d605fbfc2d639bdd7b360517be94a546d13be7d..274cd32ab1e3d4785b95d01a5215156d43c9df1c 100644 (file)
@@ -6,7 +6,7 @@ dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified i
 dnl pass to pkg-config
 dnl
 AC_DEFUN([AM_PATH_GTK_3_0],
-[dnl 
+[m4_warn([obsolete], [AM_PATH_GTK_3_0 is deprecated, use PKG_CHECK_MODULES([GTK], [gtk+-3.0]) instead])
 dnl Get the cflags and libraries from pkg-config
 dnl
 AC_ARG_ENABLE(gtktest, [  --disable-gtktest       do not try to compile and run a test GTK+ program],